<?php
$url="http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
preg_match("/https?\:\/\/.*\/(.*)\/(.*)/Uisx",$url,$nn);
preg_match_all("/([^\/]*)\/([^\/]*)/Uisx",$nn[2],$nn22);
for($i=0;$i<count($nn22[1]);$i++) {
    $_REQUEST[$nn22[1][$i]] = $_REQUEST[$nn22[2][$i]];
}
$contr=trim($nn[1])==""?"reset":trim($nn[1]);
include($contr.".php");